<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>Coverage</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" type="text/css" href="../../style.css"/>
    <link rel="stylesheet" type="text/css" href="../../print.css" media="print"/>
  </head>
  <body>
    <table class="coverageTable" cellspacing="0" cellpadding="2">
      <tr><td class="reportHeader" colspan="6">
  <table width="100%">
    <tr><td valign="top">
      <h1 class="titleText">
        Clover.NET coverage report - 
                  Coverage 
              </h1>
      <p class="timestamp">
        <span class="heading">Coverage timestamp:</span>&nbsp;Friday, May 20, 2005 9:17:00 PM
      </p>
      <p class="navBar">
                  <a class="navBarModeLink" href="../../overview.html">Overview</a>
          &nbsp;&nbsp;
          <a class="navBarModeLink" href="../../namespaces/IBatisNet.DataMapper.Configuration/ns-summary.html">Namespace</a>
          &nbsp;&nbsp;
          <span class="navBarCurrent">File</span>
              </p>
      <p class="navBar">
        &nbsp;&nbsp;&nbsp;
                  <a class="navBarLink" href="../../index.html" target="_top">FRAMES</a>&nbsp;&nbsp;
          <a class="navBarLink" href="../../files/Configuration/DomSqlMapBuilder.html" target="_top">NO FRAMES</a>&nbsp;&nbsp;
              </p>
      
    </td><td align="right" valign="top" class="stats">
      <table cellpadding="1">
        <tr>
                      <td  rowspan="3" valign="top">File Stats:</td>
                    <td align="right">LOC:</td>
          <td align="right">1359</td>
          <td rowspan="3">&nbsp;</td>
          <td align="right">Methods:</td>
          <td align="right">20</td>
        </tr>
        <tr>
          <td align="right">NCLOC:</td>
          <td align="right">898</td>
          <td align="right">Classes:</td>
          <td align="right">1</td>
        </tr>
              </table>
    </td></tr>
  </table>
</td></tr>


      <tr><td class="hbreak" colspan="6">&nbsp;</td></tr>
      
              <tr>
    <td class="graphHeaderLeft">Source File</td>
    <td class="graphHeader">Conditionals</td>
    <td class="graphHeader">Statements</td>
    <td class="graphHeader">Methods</td>
    <td class="graphBarHeader" colspan="2">TOTAL</td>
  </tr>   
  <tr>
    <td class="graphItem">
                        Configuration\DomSqlMapBuilder.cs
                  </td>
    
    <td class="graphPercent">68.8 %</td>
    <td class="graphPercent">92.2 %</td>
    <td class="graphPercent">90.0 %</td>
    <td class="graphBarLeft">87.0 %</td>
    <td class="graphBar">
              <table cellspacing="0" cellpadding="0">
          <tr>
                          <td class="covered"><img alt="coverage" src="../../img/green.gif"
                  width="174" height="12"/></td>
              <td class="uncovered"><img alt="coverage" src="../../img/red.gif"
                  width="26" height="12"/></td>
                      </tr>
        </table>
          </td>
  </tr>     </table>
    
    <table cellspacing="0" cellpadding="0" class="srcView">
          <tr>
        <td class="lineNumber">
                  1
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  2
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#region Apache Notice</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  3
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment">/*****************************************************************************</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  4
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * $Header: $</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  5
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * $Revision: $</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  6
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * $Date: $</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  7
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  8
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * iBATIS.NET Data Mapper</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  9
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * Copyright (C) 2004 - Gilles Bayon</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  10
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> *  </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  11
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  12
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  13
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * you may not use this file except in compliance with the License.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  14
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * You may obtain a copy of the License at</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  15
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  16
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> *      http://www.apache.org/licenses/LICENSE-2.0</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  17
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  18
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * Unless required by applicable law or agreed to in writing, software</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  19
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  20
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  21
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * See the License for the specific language governing permissions and</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  22
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * limitations under the License.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  23
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  24
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> ********************************************************************************/</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  25
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  26
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  27
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#region Using</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  28
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  29
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  30
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Collections;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  31
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.IO;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  32
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Reflection;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  33
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Text;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  34
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Xml;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  35
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Xml.Schema;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  36
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Xml.Serialization;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  37
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.Common;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  38
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.Common.Exceptions;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  39
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.Common.Utilities;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  40
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Alias;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  41
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Cache;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  42
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.ParameterMapping;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  43
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.ResultMapping;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  44
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Sql;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  45
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Sql.Dynamic;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  46
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Sql.Dynamic.Elements;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  47
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Sql.SimpleDynamic;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  48
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Sql.Static;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  49
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.Statements;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  50
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.MappedStatements;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  51
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Scope;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  52
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.TypeHandlers;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  53
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  54
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  55
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  56
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">namespace</span> IBatisNet.DataMapper.Configuration</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  57
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">{</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  58
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  59
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="docComment">/// <span class="docContent">Builds SqlMapClient instances from a supplied resource (e.g. XML configuration file)</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  60
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  61
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="keyword">public</span> <span class="keyword">class</span> DomSqlMapBuilder</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  62
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  63
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#region Embedded resource</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  64
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  65
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// Which files must we allow to be used as Embedded Resources ?</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  66
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// - slqMap.config [No]</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  67
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// - providers.config [No]</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  68
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// - sqlMap files [yes]</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  69
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// - properties file (like Database.config) [Yes]</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  70
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// see contribution, NHibernate usage,</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  71
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// see http://www.codeproject.com/csharp/EmbeddedResourceStrings.asp</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  72
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// see http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=75</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  73
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  74
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  75
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#region Constant</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  76
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> DEFAULT_PROVIDER_NAME = <span class="string">"_DEFAULT_PROVIDER_NAME"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  77
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  78
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Dot representation</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  79
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  80
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">public</span> <span class="keyword">const</span> <span class="keyword">string</span> DOT = <span class="string">"."</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  81
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  82
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  83
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for SqlMapConfig xml root.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  84
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  85
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> XML_CONFIG_ROOT = <span class="string">"sqlMapConfig"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  86
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  87
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  88
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for xml path to SqlMapConfig settings element.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  89
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  90
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> XML_CONFIG_SETTINGS = <span class="string">"/sqlMapConfig/settings/setting"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  91
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  92
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  93
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for providers config file name.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  94
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  95
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> PROVIDERS_FILE_NAME = <span class="string">"providers.config"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  96
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  97
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="lineComment">// TODO: Other XML paths.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  98
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  99
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  100
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for useStatementNamespaces attribute.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  101
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  102
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> ATR_USE_STATEMENT_NAMESPACES = <span class="string">"useStatementNamespaces"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  103
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  104
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for cacheModelsEnabled attribute.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  105
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  106
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> ATR_CACHE_MODELS_ENABLED = <span class="string">"cacheModelsEnabled"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  107
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  108
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for validateSqlMap attribute.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  109
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  110
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> ATR_VALIDATE_SQLMAP = <span class="string">"validateSqlMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  111
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  112
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Token for embedStatementParams attribute.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  113
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  114
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> <span class="keyword">const</span> <span class="keyword">string</span> ATR_EMBED_STATEMENT_PARAMS = <span class="string">"useEmbedStatementParams"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  115
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  116
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  117
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  118
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#region Fields</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  119
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  120
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> ConfigurationScope _configScope = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  121
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="keyword">private</span> InlineParameterMapParser _paramParser = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  122
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  123
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#endregion      </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  124
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  125
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#region Constructor</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  126
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  127
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  128
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Default constructor</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  129
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  130
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 130: Constructor DomSqlMapBuilder entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 130: Constructor DomSqlMapBuilder entered 170 times.">        <span class="keyword">public</span> DomSqlMapBuilder()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  131
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 130: Constructor DomSqlMapBuilder entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  132
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 132: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 132: Statement executed 170 times.">            _configScope = <span class="keyword">new</span> ConfigurationScope();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  133
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 133: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 133: Statement executed 170 times.">            _paramParser = <span class="keyword">new</span> InlineParameterMapParser(_configScope.ErrorContext);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  134
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 130: Constructor DomSqlMapBuilder entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  135
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#endregion </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  136
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  137
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#region Methods</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  138
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  139
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  140
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Build a SqlMapper instance</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  141
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  142
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="document"><span class="docContent">An xml configuration document</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  143
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="dataSource"><span class="docContent">A data source</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  144
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="useConfigFileWatcher">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  145
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="isCallFromDao">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  146
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;returns><span class="docContent">return an a SqlMapper instance</span>&lt;/returns></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  147
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 147: Method Build entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times.">        <span class="keyword">private</span> SqlMapper Build(XmlDocument document, </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  148
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times.">                                DataSource dataSource, </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  149
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times.">            <span class="keyword">bool</span> useConfigFileWatcher, <span class="keyword">bool</span> isCallFromDao)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  150
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  151
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 151: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 151: Statement executed 170 times.">            _configScope.SqlMapConfigDocument = document;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  152
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 152: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 152: Statement executed 170 times.">            _configScope.DataSource = dataSource;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  153
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 153: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 153: Statement executed 170 times.">            _configScope.IsCallFromDao = isCallFromDao;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  154
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 154: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 154: Statement executed 170 times.">            _configScope.UseConfigFileWatcher = useConfigFileWatcher;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  155
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  156
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times.">            </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  157
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 157: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 157: Statement executed 170 times.">            <span class="keyword">try</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  158
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 157: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  159
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 159: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 159: Statement executed 170 times.">                ValidateSchema( document.ChildNodes[1], <span class="string">"SqlMapConfig.xsd"</span> );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  160
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 160: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 160: Statement executed 170 times.">                Initialize();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  161
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 161: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 161: Statement executed 170 times.">                <span class="keyword">return</span> _configScope.SqlMapper;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  162
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 157: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  163
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 157: Statement executed 170 times.">            <span class="keyword">catch</span>(Exception e)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  164
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 157: Statement executed 170 times.">            {   </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  165
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 165: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 165: Statement not executed.">                <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(_configScope.ErrorContext.ToString(), e);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  166
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 157: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  167
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 147: Method Build entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  168
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  169
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  170
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">validate againts schema</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  171
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  172
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="section"><span class="docContent">The doc to validate</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  173
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="schemaFileName"><span class="docContent">schema File Name</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  174
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 174: Method ValidateSchema entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 174: Method ValidateSchema entered 170 times.">        <span class="keyword">private</span> <span class="keyword">void</span> ValidateSchema( XmlNode section, <span class="keyword">string</span> schemaFileName )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  175
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 174: Method ValidateSchema entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  176
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 176: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 176: Statement executed 170 times.">            XmlValidatingReader validatingReader = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  177
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 177: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 177: Statement executed 170 times.">            Stream xsdFile = <span class="keyword">null</span>; </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  178
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 178: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 178: Statement executed 170 times.">            StreamReader streamReader = <span class="keyword">null</span>; </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  179
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 174: Method ValidateSchema entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  180
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 180: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 180: Statement executed 170 times.">            _configScope.ErrorContext.Activity = <span class="string">"Validate SqlMap config"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  181
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 181: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">            <span class="keyword">try</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  182
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  183
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">                <span class="lineComment">//Validate the document using a schema</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  184
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 184: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 184: Statement executed 170 times.">                validatingReader = <span class="keyword">new</span> XmlValidatingReader( <span class="keyword">new</span> XmlTextReader( <span class="keyword">new</span> StringReader( section.OuterXml ) ) );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  185
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 185: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 185: Statement executed 170 times.">                validatingReader.ValidationType = ValidationType.Schema;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  186
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  187
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 187: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 187: Statement executed 170 times.">                xsdFile = GetStream( schemaFileName ); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  188
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 188: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 188: Statement executed 170 times.">                streamReader = <span class="keyword">new</span> StreamReader( xsdFile ); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  189
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  190
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 190: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 190: Statement executed 170 times.">                validatingReader.Schemas.Add( XmlSchema.Read( <span class="keyword">new</span> XmlTextReader( streamReader ), <span class="keyword">new</span> ValidationEventHandler(ValidationCallBack) ) );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  191
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  192
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">                <span class="lineComment">// Wire up the call back.  The ValidationEvent is fired when the</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  193
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">                <span class="lineComment">// XmlValidatingReader hits an issue validating a section of the xml</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  194
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 194: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 194: Statement executed 170 times.">                validatingReader.ValidationEventHandler += <span class="keyword">new</span> ValidationEventHandler(ValidationCallBack);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  195
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  196
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">                <span class="lineComment">// Validate the document</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  197
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 197: Expression evaluated to true 6630 times, false 170 times.">6800</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 197: Expression evaluated to true 6630 times, false 170 times.">                <span class="keyword">while</span> (validatingReader.Read()){}</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  198
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  199
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 199: Expression evaluated to true 0 times, false 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 199: Expression evaluated to true 0 times, false 170 times.">                <span class="keyword">if</span>(! _configScope.IsXmlValid )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  200
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 199: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  201
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 201: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 201: Statement not executed.">                    <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException( <span class="string">"Invalid SqlMap.config document. cause :"</span>+_configScope.ErrorContext.Resource);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  202
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 199: Statement executed 170 times.">                        <span class="lineComment">//( Resource.ResourceManager.FormatMessage( Resource.MessageKeys.DocumentNotValidated, _schemaErrors )) );</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  203
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 199: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  204
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  205
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">            <span class="keyword">finally</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  206
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  207
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 207: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 207: Expression evaluated to true 170 times, false 0 times.">                <span class="keyword">if</span>( validatingReader != <span class="keyword">null</span> ) validatingReader.Close();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  208
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 208: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 208: Expression evaluated to true 170 times, false 0 times.">                <span class="keyword">if</span>( xsdFile != <span class="keyword">null</span> ) xsdFile.Close();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  209
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 209: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 209: Expression evaluated to true 170 times, false 0 times.">                <span class="keyword">if</span>( streamReader != <span class="keyword">null</span> ) streamReader.Close();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  210
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 181: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  211
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 174: Method ValidateSchema entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  212
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  213
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 213: Method ValidationCallBack not entered.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 213: Method ValidationCallBack not entered.">        <span class="keyword">private</span> <span class="keyword">void</span> ValidationCallBack( <span class="keyword">object</span> sender, ValidationEventArgs args )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  214
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 213: Method ValidationCallBack not entered.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  215
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 213: Method ValidationCallBack not entered.">            _configScope.IsXmlValid = <span class="keyword">false</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  216
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 213: Method ValidationCallBack not entered.">            _configScope.ErrorContext.Resource += args.Message + Environment.NewLine;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  217
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 213: Method ValidationCallBack not entered.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  218
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  219
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  220
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Load statement, parameters, resultmap.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  221
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Used by Dao</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  222
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  223
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 223: Method Build not entered.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 223: Method Build not entered.">        <span class="keyword">public</span> SqlMapper Build(XmlDocument document, DataSource dataSource, <span class="keyword">bool</span> useConfigFileWatcher)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  224
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 223: Method Build not entered.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  225
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 223: Method Build not entered.">            <span class="keyword">return</span> Build(document, dataSource, useConfigFileWatcher, <span class="keyword">true</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  226
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 223: Method Build not entered.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  227
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  228
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  229
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  230
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Load SqlMap configuration from</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  231
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">from the XmlDocument passed in parameter.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  232
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  233
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="document"><span class="docContent">The xml sql map configuration.</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  234
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="useConfigFileWatcher">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  235
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 235: Method Build entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 235: Method Build entered 170 times.">        <span class="keyword">public</span> SqlMapper Build(XmlDocument document, <span class="keyword">bool</span> useConfigFileWatcher)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  236
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 235: Method Build entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  237
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 237: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 237: Statement executed 170 times.">            <span class="keyword">return</span> Build(document, <span class="keyword">null</span>, useConfigFileWatcher, <span class="keyword">false</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  238
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 235: Method Build entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  239
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  240
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  241
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  242
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Reset PreparedStatements cache</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  243
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  244
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 244: Method Reset entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 244: Method Reset entered 170 times.">        <span class="keyword">private</span> <span class="keyword">void</span> Reset()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  245
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 244: Method Reset entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  246
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 244: Method Reset entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  247
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  248
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  249
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Intilaize an SqlMap.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  250
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  251
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 251: Method Initialize entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">        <span class="keyword">private</span> <span class="keyword">void</span> Initialize()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  252
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  253
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 253: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 253: Statement executed 170 times.">            Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  254
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  255
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 255: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 255: Statement executed 170 times.">            _configScope.SqlMapper = <span class="keyword">new</span> SqlMapper( <span class="keyword">new</span> TypeHandlerFactory() );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  256
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  257
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load settings</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  258
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  259
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 259: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 259: Statement executed 170 times.">            _configScope.ErrorContext.Activity = <span class="string">"loading global settings"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  260
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  261
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 261: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 261: Statement executed 170 times.">            XmlNodeList settings = _configScope.SqlMapConfigDocument.SelectNodes(XML_CONFIG_SETTINGS);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  262
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  263
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 263: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 263: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> (settings!=<span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  264
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 263: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  265
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 265: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 265: Statement executed 170 times.">                <span class="keyword">foreach</span> (XmlNode setting <span class="keyword">in</span> settings)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  266
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 265: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  267
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 267: Expression evaluated to true 170 times, false 340 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 267: Expression evaluated to true 170 times, false 340 times.">                    <span class="keyword">if</span> (setting.Attributes[ATR_USE_STATEMENT_NAMESPACES] != <span class="keyword">null</span> )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  268
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 267: Statement executed 510 times.">                    {               </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  269
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 269: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 269: Statement executed 170 times.">                        _configScope.UseStatementNamespaces =  Convert.ToBoolean(setting.Attributes[ATR_USE_STATEMENT_NAMESPACES].Value); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  270
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 267: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  271
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 271: Expression evaluated to true 170 times, false 340 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 271: Expression evaluated to true 170 times, false 340 times.">                    <span class="keyword">if</span> (setting.Attributes[ATR_CACHE_MODELS_ENABLED] != <span class="keyword">null</span> )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  272
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 271: Statement executed 510 times.">                    {               </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  273
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 273: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 273: Statement executed 170 times.">                        _configScope.IsCacheModelsEnabled =  Convert.ToBoolean(setting.Attributes[ATR_CACHE_MODELS_ENABLED].Value); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  274
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 271: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  275
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 275: Expression evaluated to true 0 times, false 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 275: Expression evaluated to true 0 times, false 510 times.">                    <span class="keyword">if</span> (setting.Attributes[ATR_EMBED_STATEMENT_PARAMS] != <span class="keyword">null</span> )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  276
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 275: Statement executed 510 times.">                    {               </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  277
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 277: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 277: Statement not executed.">                        _configScope.UseEmbedStatementParams =  Convert.ToBoolean(setting.Attributes[ATR_EMBED_STATEMENT_PARAMS].Value); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  278
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 275: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  279
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 265: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  280
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 280: Expression evaluated to true 170 times, false 340 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 280: Expression evaluated to true 170 times, false 340 times.">                    <span class="keyword">if</span> (setting.Attributes[ATR_VALIDATE_SQLMAP] != <span class="keyword">null</span> )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  281
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 280: Statement executed 510 times.">                    {               </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  282
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 282: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 282: Statement executed 170 times.">                        _configScope.ValidateSqlMap =  Convert.ToBoolean(setting.Attributes[ATR_VALIDATE_SQLMAP].Value); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  283
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 280: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  284
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 265: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  285
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 263: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  286
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  287
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 287: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 287: Statement executed 170 times.">            _configScope.SqlMapper.SetCacheModelsEnabled(_configScope.IsCacheModelsEnabled);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  288
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 288: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 288: Statement executed 170 times.">            _configScope.SqlMapper.SetUseEmbedStatementParams(_configScope.UseEmbedStatementParams);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  289
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  290
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  291
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  292
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load Global Properties</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  293
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 293: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 293: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> (_configScope.IsCallFromDao == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  294
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 293: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  295
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 295: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 295: Statement executed 170 times.">                _configScope.NodeContext = _configScope.SqlMapConfigDocument.SelectSingleNode(XML_CONFIG_ROOT);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  296
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 296: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 296: Statement executed 170 times.">                ParseGlobalProperties();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  297
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 293: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  298
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  299
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  300
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load providers</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  301
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 301: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 301: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> (_configScope.IsCallFromDao == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  302
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 301: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  303
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 303: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 303: Statement executed 170 times.">                GetProviders();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  304
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 301: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  305
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  306
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  307
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load DataBase</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  308
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Choose the  provider</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  309
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 309: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 309: Statement executed 170 times.">            Provider provider = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  310
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 310: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 310: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> ( _configScope.IsCallFromDao==<span class="keyword">false</span> )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  311
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 310: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  312
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 312: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 312: Statement executed 170 times.">                provider = ParseProvider();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  313
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 313: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 313: Statement executed 170 times.">                _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  314
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 310: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  315
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  316
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  317
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load the DataSources</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  318
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  319
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 319: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 319: Statement executed 170 times.">            _configScope.ErrorContext.Activity = <span class="string">"loading Database DataSource"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  320
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 320: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 320: Statement executed 170 times.">            XmlNode nodeDataSource = _configScope.SqlMapConfigDocument.SelectSingleNode(<span class="string">"/sqlMapConfig/database/dataSource"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  321
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 321: Expression evaluated to true 0 times, false 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 321: Expression evaluated to true 0 times, false 170 times.">            <span class="keyword">if</span> (nodeDataSource == <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  322
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 321: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  323
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 323: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                <span class="keyword">if</span> (_configScope.IsCallFromDao == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  324
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  325
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                    <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(<span class="string">"There's no dataSource tag in SqlMap.config."</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  326
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  327
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                <span class="keyword">else</span>  <span class="lineComment">// patch from Luke Yang</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  328
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  329
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                    _configScope.SqlMapper.DataSource = _configScope.DataSource;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  330
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 323: Statement not executed.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  331
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 321: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  332
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 321: Statement executed 170 times.">            <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  333
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 321: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  334
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 334: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 334: Expression evaluated to true 170 times, false 0 times.">                <span class="keyword">if</span> (_configScope.IsCallFromDao == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  335
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  336
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 336: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 336: Statement executed 170 times.">                    _configScope.ErrorContext.Resource = nodeDataSource.OuterXml.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  337
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 337: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 337: Statement executed 170 times.">                    _configScope.ErrorContext.MoreInfo = <span class="string">"parse DataSource"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  338
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 338: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 338: Statement executed 170 times.">                    XmlSerializer serializer = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  339
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 339: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 339: Statement executed 170 times.">                    serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(DataSource));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  340
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 340: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 340: Statement executed 170 times.">                    DataSource dataSource = (DataSource) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(nodeDataSource));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  341
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  342
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 342: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 342: Statement executed 170 times.">                    dataSource.Provider = provider;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  343
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times.">                    <span class="lineComment">// Use Global Properties if any</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  344
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 344: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 344: Statement executed 170 times.">                    dataSource.ConnectionString = Resources.ParsePropertyTokens(dataSource.ConnectionString, _configScope.Properties);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  345
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  346
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 346: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 346: Statement executed 170 times.">                    _configScope.DataSource = dataSource;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  347
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 347: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 347: Statement executed 170 times.">                    _configScope.SqlMapper.DataSource = _configScope.DataSource;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  348
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  349
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  350
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  351
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 351: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 351: Statement not executed.">                    _configScope.SqlMapper.DataSource = _configScope.DataSource;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  352
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 334: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  353
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 353: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 353: Statement executed 170 times.">                _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  354
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 321: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  355
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  356
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  357
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  358
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load Global TypeAlias</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  359
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 359: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 359: Statement executed 170 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapConfigDocument.SelectNodes(<span class="string">"/sqlMapConfig/alias/typeAlias"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  360
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 359: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  361
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 361: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 361: Statement executed 340 times.">                _configScope.ErrorContext.Activity = <span class="string">"loading global Type alias"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  362
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 362: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 362: Statement executed 340 times.">                TypeAlias typeAlias = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  363
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 363: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 363: Statement executed 340 times.">                XmlSerializer serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(TypeAlias));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  364
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 359: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  365
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 365: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 365: Statement executed 340 times.">                typeAlias = (TypeAlias) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  366
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 366: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 366: Statement executed 340 times.">                _configScope.ErrorContext.ObjectId = typeAlias.ClassName;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  367
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 367: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 367: Statement executed 340 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"initialize type alias"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  368
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 368: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 368: Statement executed 340 times.">                typeAlias.Initialize();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  369
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 359: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  370
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 370: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 370: Statement executed 340 times.">                _configScope.SqlMapper.AddTypeAlias( typeAlias.Name, typeAlias );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  371
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 359: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  372
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 372: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 372: Statement executed 170 times.">            _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  373
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  374
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  375
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load TypeHandlers</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  376
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 376: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 376: Statement executed 170 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapConfigDocument.SelectNodes(<span class="string">"/sqlMapConfig/typeHandlers/typeHandler"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  377
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 376: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  378
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 378: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times.">                <span class="keyword">try</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  379
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  380
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 380: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 380: Statement executed 170 times.">                    _configScope.ErrorContext.Activity = <span class="string">"loading typeHandler"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  381
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 381: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 381: Statement executed 170 times.">                    TypeHandler handler = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  382
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 382: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 382: Statement executed 170 times.">                    XmlSerializer serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(TypeHandler));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  383
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  384
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 384: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 384: Statement executed 170 times.">                    handler = (TypeHandler) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  385
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 385: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 385: Statement executed 170 times.">                    _configScope.ErrorContext.ObjectId = handler.ClassName;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  386
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 386: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 386: Statement executed 170 times.">                    _configScope.ErrorContext.MoreInfo = <span class="string">"initialize typeHandler"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  387
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 387: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 387: Statement executed 170 times.">                    handler.Initialize();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  388
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  389
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  390
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 390: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 390: Statement executed 170 times.">                    _configScope.ErrorContext.MoreInfo = <span class="string">"Check the callback attribute '"</span> + handler.ClassName + <span class="string">"' (must be a classname)."</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  391
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 391: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 391: Statement executed 170 times.">                    ITypeHandler typeHandler = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  392
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 392: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 392: Statement executed 170 times.">                    Type type = _configScope.SqlMapper.GetType(handler.CallBackName);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  393
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 393: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 393: Statement executed 170 times.">                    <span class="keyword">object</span> impl = Activator.CreateInstance( type );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  394
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 394: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 394: Expression evaluated to true 170 times, false 0 times.">                    <span class="keyword">if</span> (impl <span class="keyword">is</span> ITypeHandlerCallback) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  395
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 394: Statement executed 170 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  396
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 396: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 396: Statement executed 170 times.">                        typeHandler = <span class="keyword">new</span> CustomTypeHandler((ITypeHandlerCallback) impl);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  397
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 394: Statement executed 170 times.">                    } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  398
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 398: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                    <span class="keyword">else</span> <span class="keyword">if</span> (impl <span class="keyword">is</span> ITypeHandler) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  399
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  400
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                        typeHandler = (ITypeHandler) impl;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  401
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                    } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  402
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                    <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  403
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  404
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                        <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(<span class="string">"The callBack type is not a valid implementation of ITypeHandler or ITypeHandlerCallback"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  405
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 398: Statement not executed.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  406
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  407
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 407: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 407: Statement executed 170 times.">                    _configScope.ErrorContext.MoreInfo = <span class="string">"Check the type attribute '"</span> + handler.ClassName + <span class="string">"' (must be a class name) or the dbType '"</span> + handler.DbType + <span class="string">"' (must be a DbType type name)."</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  408
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 408: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 408: Expression evaluated to true 170 times, false 0 times.">                    <span class="keyword">if</span> (handler.DbType!= <span class="keyword">null</span> &amp;&amp; handler.DbType.Length > 0) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  409
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 408: Statement executed 170 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  410
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 410: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 410: Statement executed 170 times.">                        _configScope.TypeHandlerFactory.Register(Resources.TypeForName(handler.ClassName), handler.DbType, typeHandler);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  411
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 408: Statement executed 170 times.">                    } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  412
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 408: Statement executed 170 times.">                    <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  413
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 408: Statement executed 170 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  414
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 414: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 414: Statement not executed.">                        _configScope.TypeHandlerFactory.Register(Resources.TypeForName(handler.ClassName), typeHandler);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  415
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 408: Statement executed 170 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  416
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times.">                } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  417
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times.">                <span class="keyword">catch</span> (Exception e) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  418
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  419
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 419: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 419: Statement not executed.">                    <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(<span class="string">"Error registering occurred.  Cause: "</span> + e.Message, e);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  420
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 378: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  421
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 376: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  422
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 422: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 422: Statement executed 170 times.">            _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  423
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  424
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  425
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Load sqlMap mapping files</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  426
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  427
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 427: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 427: Statement executed 170 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapConfigDocument.SelectNodes(<span class="string">"/sqlMapConfig/sqlMaps/sqlMap"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  428
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 427: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  429
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 429: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 429: Statement executed 1870 times.">                _configScope.NodeContext = xmlNode;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  430
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 430: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 430: Statement executed 1870 times.">                ConfigureSqlMap();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  431
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 427: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  432
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  433
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  434
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  435
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Attach CacheModel to statement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  436
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  437
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 437: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 437: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> (_configScope.IsCacheModelsEnabled)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  438
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 437: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  439
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 439: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 439: Statement executed 170 times.">                <span class="keyword">foreach</span>(DictionaryEntry entry <span class="keyword">in</span> _configScope.SqlMapper.MappedStatements)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  440
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 439: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  441
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 441: Statement executed 26520 times.">26520</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 441: Statement executed 26520 times.">                    _configScope.ErrorContext.Activity = <span class="string">"Set CacheModel to statement"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  442
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 439: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  443
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 443: Statement executed 26520 times.">26520</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 443: Statement executed 26520 times.">                    MappedStatement mappedStatement = (MappedStatement)entry.Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  444
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 444: Expression evaluated to true 510 times, false 26010 times.">26520</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 444: Expression evaluated to true 510 times, false 26010 times.">                    <span class="keyword">if</span> (mappedStatement.Statement.CacheModelName.Length >0)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  445
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 444: Statement executed 26520 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  446
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 446: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 446: Statement executed 510 times.">                        _configScope.ErrorContext.MoreInfo = <span class="string">"statement : "</span>+mappedStatement.Statement.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  447
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 447: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 447: Statement executed 510 times.">                        _configScope.ErrorContext.Resource = <span class="string">"cacheModel : "</span> +mappedStatement.Statement.CacheModelName;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  448
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 448: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 448: Statement executed 510 times.">                        mappedStatement.Statement.CacheModel = _configScope.SqlMapper.GetCache(mappedStatement.Statement.CacheModelName);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  449
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 444: Statement executed 26520 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  450
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 439: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  451
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 437: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  452
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 452: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 452: Statement executed 170 times.">            _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  453
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  454
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  455
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  456
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#region Resolve "resultMap" attribute on Result Property + initialize Discriminator property </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  457
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  458
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 458: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 458: Statement executed 170 times.">            <span class="keyword">foreach</span>(DictionaryEntry entry <span class="keyword">in</span> _configScope.SqlMapper.ResultMaps)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  459
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 458: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  460
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 460: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 460: Statement executed 4930 times.">                _configScope.ErrorContext.Activity = <span class="string">"Resolve 'resultMap' attribute on Result Property"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  461
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 458: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  462
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 462: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 462: Statement executed 4930 times.">                ResultMap resultMap = (ResultMap)entry.Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  463
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 463: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 463: Statement executed 4930 times.">                <span class="keyword">foreach</span>(DictionaryEntry item <span class="keyword">in</span> resultMap.ColumnsToPropertiesMap)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  464
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 463: Statement executed 4930 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  465
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 465: Statement executed 31280 times.">31280</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 465: Statement executed 31280 times.">                    ResultProperty result = (ResultProperty)item.Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  466
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 466: Expression evaluated to true 170 times, false 31110 times.">31280</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 466: Expression evaluated to true 170 times, false 31110 times.">                    <span class="keyword">if</span>(result.NestedResultMapName.Length >0)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  467
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 466: Statement executed 31280 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  468
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 468: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 468: Statement executed 170 times.">                        result.NestedResultMap = _configScope.SqlMapper.GetResultMap(result.NestedResultMapName);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  469
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 466: Statement executed 31280 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  470
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 463: Statement executed 4930 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  471
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 471: Expression evaluated to true 340 times, false 4590 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 471: Expression evaluated to true 340 times, false 4590 times.">                <span class="keyword">if</span> (resultMap.Discriminator != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  472
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 471: Statement executed 4930 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  473
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 473: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 473: Statement executed 340 times.">                    resultMap.Discriminator.Initialize(_configScope);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  474
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 471: Statement executed 4930 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  475
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 458: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  476
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  477
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 477: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 477: Statement executed 170 times.">            _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  478
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  479
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  480
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  481
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  482
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 251: Method Initialize entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  483
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  484
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  485
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Load and initialize providers from specified file.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  486
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  487
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 487: Method GetProviders entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times.">        <span class="keyword">private</span> <span class="keyword">void</span> GetProviders()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  488
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  489
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 489: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 489: Statement executed 170 times.">            XmlSerializer serializer = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  490
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 490: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 490: Statement executed 170 times.">            Provider provider = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  491
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  492
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 492: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 492: Statement executed 170 times.">            _configScope.ErrorContext.Activity = <span class="string">"loading Providers"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  493
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  494
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 494: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 494: Statement executed 170 times.">            XmlDocument xmlProviders = Resources.GetConfigAsXmlDocument(PROVIDERS_FILE_NAME);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  495
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  496
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 496: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 496: Statement executed 170 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Provider));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  497
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  498
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 498: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 498: Statement executed 170 times.">            <span class="keyword">foreach</span> (XmlNode node <span class="keyword">in</span> xmlProviders.SelectNodes(<span class="string">"/providers/provider"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  499
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 498: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  500
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 500: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 500: Statement executed 2040 times.">                _configScope.ErrorContext.Resource = node.InnerXml.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  501
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 498: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  502
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 502: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 502: Statement executed 2040 times.">                provider = (Provider) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(node));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  503
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 498: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  504
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 504: Expression evaluated to true 1360 times, false 680 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 504: Expression evaluated to true 1360 times, false 680 times.">                <span class="keyword">if</span> (provider.IsEnabled == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  505
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 504: Statement executed 2040 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  506
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 506: Statement executed 1360 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 506: Statement executed 1360 times.">                    _configScope.ErrorContext.ObjectId = provider.Name;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  507
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 507: Statement executed 1360 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 507: Statement executed 1360 times.">                    _configScope.ErrorContext.MoreInfo = <span class="string">"initialize provider"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  508
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 504: Statement executed 2040 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  509
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 509: Statement executed 1360 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 509: Statement executed 1360 times.">                    provider.Initialisation();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  510
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 510: Statement executed 1360 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 510: Statement executed 1360 times.">                    _configScope.Providers.Add(provider.Name, provider);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  511
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 504: Statement executed 2040 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  512
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 512: Expression evaluated to true 170 times, false 1190 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 512: Expression evaluated to true 170 times, false 1190 times.">                    <span class="keyword">if</span> (provider.IsDefault == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  513
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 512: Statement executed 1360 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  514
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 514: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 514: Expression evaluated to true 170 times, false 0 times.">                        <span class="keyword">if</span> (_configScope.Providers[DEFAULT_PROVIDER_NAME] == <span class="keyword">null</span>) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  515
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 514: Statement executed 170 times.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  516
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 516: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 516: Statement executed 170 times.">                            _configScope.Providers.Add(DEFAULT_PROVIDER_NAME,provider);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  517
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 514: Statement executed 170 times.">                        } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  518
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 514: Statement executed 170 times.">                        <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  519
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 514: Statement executed 170 times.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  520
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 520: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 520: Statement not executed.">                            <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  521
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 520: Statement not executed.">                                <span class="keyword">string</span>.Format(<span class="string">"Error while configuring the Provider named \"{0}\" There can be only one default Provider."</span>,provider.Name));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  522
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 514: Statement executed 170 times.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  523
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 512: Statement executed 1360 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  524
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 504: Statement executed 2040 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  525
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 498: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  526
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 526: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 526: Statement executed 170 times.">            _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  527
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 487: Method GetProviders entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  528
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  529
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  530
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  531
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Parse the provider tag.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  532
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  533
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;returns><span class="docContent">A provider object.</span>&lt;/returns></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  534
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 534: Method ParseProvider entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 534: Method ParseProvider entered 170 times.">        <span class="keyword">private</span> Provider ParseProvider()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  535
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 534: Method ParseProvider entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  536
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 536: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 536: Statement executed 170 times.">            _configScope.ErrorContext.Activity = <span class="string">"load DataBase Provider"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  537
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 537: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 537: Statement executed 170 times.">            XmlNode node = _configScope.SqlMapConfigDocument.SelectSingleNode(<span class="string">"//database/provider"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  538
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 534: Method ParseProvider entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  539
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 539: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 539: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> (node != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  540
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  541
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 541: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 541: Statement executed 170 times.">                _configScope.ErrorContext.Resource = node.OuterXml.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  542
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times.">                <span class="lineComment">// name</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  543
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 543: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 543: Statement executed 170 times.">                <span class="keyword">string</span> providerName = Resources.ParsePropertyTokens(node.Attributes[<span class="string">"name"</span>].Value, _configScope.Properties);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  544
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  545
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 545: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 545: Statement executed 170 times.">                _configScope.ErrorContext.ObjectId = providerName;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  546
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  547
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 547: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 547: Expression evaluated to true 170 times, false 0 times.">                <span class="keyword">if</span> (_configScope.Providers.Contains(providerName) == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  548
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 547: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  549
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 549: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 549: Statement executed 170 times.">                    <span class="keyword">return</span> (Provider) _configScope.Providers[providerName];</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  550
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 547: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  551
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 547: Statement executed 170 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  552
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 547: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  553
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 553: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 553: Statement not executed.">                    <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  554
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 553: Statement not executed.">                        <span class="keyword">string</span>.Format(<span class="string">"Error while configuring the Provider named \"{0}\". Cause : The provider is not in 'providers.config'."</span>,</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  555
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 553: Statement not executed.">                            providerName));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  556
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 547: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  557
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  558
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times.">            <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  559
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  560
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 560: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                <span class="keyword">if</span> (_configScope.Providers.Contains(DEFAULT_PROVIDER_NAME) == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  561
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  562
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                    <span class="keyword">return</span> (Provider) _configScope.Providers[DEFAULT_PROVIDER_NAME];</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  563
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  564
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  565
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  566
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                    <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  567
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                        <span class="keyword">string</span>.Format(<span class="string">"Error while configuring the SqlMap. There is no provider marked default in 'providers.config' file."</span>));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  568
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 560: Statement not executed.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  569
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 539: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  570
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 534: Method ParseProvider entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  571
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  572
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  573
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  574
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Load sqlMap statement.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  575
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  576
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 576: Method ConfigureSqlMap entered 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">        <span class="keyword">private</span> <span class="keyword">void</span> ConfigureSqlMap( )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  577
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  578
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 578: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 578: Statement executed 1870 times.">            XmlSerializer serializer = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  579
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 579: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 579: Statement executed 1870 times.">            XmlNode sqlMapNode = _configScope.NodeContext;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  580
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  581
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 581: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 581: Statement executed 1870 times.">            _configScope.ErrorContext.Activity = <span class="string">"loading SqlMap "</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  582
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 582: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 582: Statement executed 1870 times.">            _configScope.ErrorContext.Resource = sqlMapNode.OuterXml.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  583
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  584
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 584: Expression evaluated to true 1870 times, false 0 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 584: Expression evaluated to true 1870 times, false 0 times.">            <span class="keyword">if</span> (_configScope.UseConfigFileWatcher == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  585
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 584: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  586
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 586: Expression evaluated to true 1870 times, false 0 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 586: Expression evaluated to true 1870 times, false 0 times.">                <span class="keyword">if</span> (sqlMapNode.Attributes[<span class="string">"resource"</span>] != <span class="keyword">null</span> || sqlMapNode.Attributes[<span class="string">"url"</span>] != <span class="keyword">null</span>) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  587
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 586: Statement executed 1870 times.">                { </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  588
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 588: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 588: Statement executed 1870 times.">                    ConfigWatcherHandler.AddFileToWatch( Resources.GetFileInfo( Resources.GetValueOfNodeResourceUrl(sqlMapNode) ) );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  589
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 586: Statement executed 1870 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  590
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 584: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  591
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  592
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="lineComment">// Load the file </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  593
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 593: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 593: Statement executed 1870 times.">            _configScope.SqlMapDocument = Resources.GetAsXmlDocument(sqlMapNode);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  594
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  595
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 595: Expression evaluated to true 0 times, false 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 595: Expression evaluated to true 0 times, false 1870 times.">            <span class="keyword">if</span> (_configScope.ValidateSqlMap)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  596
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 595: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  597
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 597: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 597: Statement not executed.">                ValidateSchema( _configScope.SqlMapDocument.ChildNodes[1], <span class="string">"SqlMap.xsd"</span> );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  598
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 595: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  599
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  600
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 600: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 600: Statement executed 1870 times.">            _configScope.SqlMapNamespace = _configScope.SqlMapDocument.SelectSingleNode(<span class="string">"sqlMap"</span>).Attributes[<span class="string">"namespace"</span>].Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  601
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  602
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Load TypeAlias</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  603
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  604
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 604: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 604: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/alias/typeAlias"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  605
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 604: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  606
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 606: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 606: Statement executed 2380 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading type alias"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  607
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 607: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 607: Statement executed 2380 times.">                TypeAlias typeAlias = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  608
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 608: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 608: Statement executed 2380 times.">                serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(TypeAlias));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  609
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 609: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 609: Statement executed 2380 times.">                typeAlias = (TypeAlias) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  610
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 610: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 610: Statement executed 2380 times.">                _configScope.ErrorContext.ObjectId = typeAlias.ClassName;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  611
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 611: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 611: Statement executed 2380 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"initialize type alias"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  612
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 612: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 612: Statement executed 2380 times.">                typeAlias.Initialize();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  613
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 604: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  614
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 614: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 614: Statement executed 2380 times.">                _configScope.SqlMapper.AddTypeAlias( typeAlias.Name, typeAlias );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  615
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 604: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  616
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 616: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 616: Statement executed 1870 times.">            _configScope.ErrorContext.MoreInfo = <span class="keyword">string</span>.Empty;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  617
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 617: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 617: Statement executed 1870 times.">            _configScope.ErrorContext.ObjectId = <span class="keyword">string</span>.Empty;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  618
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  619
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  620
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  621
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Load resultMap</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  622
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  623
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 623: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 623: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/resultMaps/resultMap"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  624
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 623: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  625
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 625: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 625: Statement executed 4930 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading ResultMap tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  626
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 626: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 626: Statement executed 4930 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A ResultMap node</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  627
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 623: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  628
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 628: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 628: Statement executed 4930 times.">                BuildResultMap();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  629
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 623: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  630
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  631
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  632
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  633
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Load parameterMaps</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  634
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  635
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 635: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 635: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/parameterMaps/parameterMap"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  636
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 635: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  637
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 637: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 637: Statement executed 3400 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading ParameterMap tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  638
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 638: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 638: Statement executed 3400 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A ParameterMap node</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  639
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 635: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  640
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 640: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 640: Statement executed 3400 times.">                BuildParameterMap();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  641
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 635: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  642
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  643
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  644
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">        </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  645
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Load statements</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  646
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  647
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Statement tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  648
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 648: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 648: Statement executed 1870 times.">            Statement statement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  649
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 649: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 649: Statement executed 1870 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Statement));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  650
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 650: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/statements/statement"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  651
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  652
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 652: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 652: Statement executed 12070 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading statement tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  653
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 653: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 653: Statement executed 12070 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A statement tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  654
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  655
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 655: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 655: Statement executed 12070 times.">                MappedStatement mappedStatement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  656
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  657
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 657: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 657: Statement executed 12070 times.">                statement = (Statement) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  658
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 658: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 658: Statement executed 12070 times.">                statement.CacheModelName = ApplyNamespace( statement.CacheModelName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  659
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 659: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 659: Statement executed 12070 times.">                statement.ParameterMapName = ApplyNamespace( statement.ParameterMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  660
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 660: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 660: Statement executed 12070 times.">                statement.ResultMapName = ApplyNamespace( statement.ResultMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  661
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  662
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 662: Expression evaluated to true 0 times, false 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 662: Expression evaluated to true 0 times, false 12070 times.">                <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  663
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 662: Statement executed 12070 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  664
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 664: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 664: Statement not executed.">                    statement.Id = ApplyNamespace(statement.Id);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  665
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 662: Statement executed 12070 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  666
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 666: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 666: Statement executed 12070 times.">                _configScope.ErrorContext.ObjectId = statement.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  667
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 667: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 667: Statement executed 12070 times.">                statement.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  668
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  669
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times.">                <span class="lineComment">// Build ISql (analyse sql statement)       </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  670
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 670: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 670: Statement executed 12070 times.">                ProcessSqlStatement( statement  );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  671
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times.">                    <span class="lineComment">//config, sqlMapName, sqlMap, xmlNode, statement);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  672
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  673
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times.">                <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  674
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 674: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 674: Statement executed 12070 times.">                mappedStatement = <span class="keyword">new</span> MappedStatement( _configScope.SqlMapper, statement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  675
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  676
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 676: Statement executed 12070 times.">12070</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 676: Statement executed 12070 times.">                _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  677
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 650: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  678
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  679
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  680
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Select tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  681
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 681: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 681: Statement executed 1870 times.">            Select select = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  682
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 682: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 682: Statement executed 1870 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Select));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  683
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 683: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/statements/select"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  684
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  685
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 685: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 685: Statement executed 9350 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading select tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  686
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 686: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 686: Statement executed 9350 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A select node</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  687
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  688
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 688: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 688: Statement executed 9350 times.">                MappedStatement mappedStatement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  689
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  690
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 690: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 690: Statement executed 9350 times.">                select = (Select) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  691
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 691: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 691: Statement executed 9350 times.">                select.CacheModelName = ApplyNamespace( select.CacheModelName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  692
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 692: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 692: Statement executed 9350 times.">                select.ParameterMapName = ApplyNamespace( select.ParameterMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  693
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 693: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 693: Statement executed 9350 times.">                select.ResultMapName = ApplyNamespace( select.ResultMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  694
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  695
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 695: Expression evaluated to true 0 times, false 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 695: Expression evaluated to true 0 times, false 9350 times.">                <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  696
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 695: Statement executed 9350 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  697
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 697: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 697: Statement not executed.">                    select.Id = ApplyNamespace(select.Id);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  698
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 695: Statement executed 9350 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  699
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 699: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 699: Statement executed 9350 times.">                _configScope.ErrorContext.ObjectId = select.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  700
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times.">                </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  701
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 701: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 701: Statement executed 9350 times.">                select.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  702
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  703
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 703: Expression evaluated to true 340 times, false 9010 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Expression evaluated to true 340 times, false 9010 times.">                <span class="keyword">if</span> (select.Generate != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  704
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  705
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 705: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 705: Statement executed 340 times.">                    GenerateCommandText(_configScope.SqlMapper, select);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  706
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  707
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  708
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  709
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                    <span class="lineComment">// Build ISql (analyse sql statement)       </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  710
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 710: Statement executed 9010 times.">9010</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 710: Statement executed 9010 times.">                    ProcessSqlStatement( select);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  711
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                        <span class="lineComment">//config, sqlMapName, sqlMap, xmlNode, select);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  712
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 703: Statement executed 9350 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  713
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  714
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times.">                <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  715
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 715: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 715: Statement executed 9350 times.">                mappedStatement = <span class="keyword">new</span> SelectMappedStatement( _configScope.SqlMapper, select);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  716
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  717
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 717: Statement executed 9350 times.">9350</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 717: Statement executed 9350 times.">                _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  718
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 683: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  719
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  720
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  721
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Insert tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  722
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 722: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 722: Statement executed 1870 times.">            Insert insert = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  723
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 723: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 723: Statement executed 1870 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Insert));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  724
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 724: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/statements/insert"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  725
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  726
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 726: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 726: Statement executed 2040 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading insert tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  727
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 727: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 727: Statement executed 2040 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A insert tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  728
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  729
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 729: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 729: Statement executed 2040 times.">                MappedStatement mappedStatement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  730
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  731
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 731: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 731: Statement executed 2040 times.">                insert = (Insert) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  732
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 732: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 732: Statement executed 2040 times.">                insert.CacheModelName = ApplyNamespace( insert.CacheModelName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  733
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 733: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 733: Statement executed 2040 times.">                insert.ParameterMapName = ApplyNamespace( insert.ParameterMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  734
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 734: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 734: Statement executed 2040 times.">                insert.ResultMapName = ApplyNamespace( insert.ResultMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  735
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  736
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 736: Expression evaluated to true 0 times, false 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 736: Expression evaluated to true 0 times, false 2040 times.">                <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  737
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 736: Statement executed 2040 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  738
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 738: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 738: Statement not executed.">                    insert.Id = ApplyNamespace(insert.Id);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  739
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 736: Statement executed 2040 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  740
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 740: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 740: Statement executed 2040 times.">                _configScope.ErrorContext.ObjectId = insert.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  741
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 741: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 741: Statement executed 2040 times.">                insert.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  742
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  743
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">                <span class="lineComment">// Build ISql (analyse sql command text)</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  744
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 744: Expression evaluated to true 170 times, false 1870 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Expression evaluated to true 170 times, false 1870 times.">                <span class="keyword">if</span> (insert.Generate != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  745
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Statement executed 2040 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  746
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 746: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 746: Statement executed 170 times.">                    GenerateCommandText(_configScope.SqlMapper, insert);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  747
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Statement executed 2040 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  748
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Statement executed 2040 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  749
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Statement executed 2040 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  750
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 750: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 750: Statement executed 1870 times.">                    ProcessSqlStatement( insert);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  751
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Statement executed 2040 times.">                        <span class="lineComment">//config, sqlMapName, sqlMap, xmlNode, insert);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  752
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 744: Statement executed 2040 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  753
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  754
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">                <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  755
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 755: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 755: Statement executed 2040 times.">                mappedStatement = <span class="keyword">new</span> InsertMappedStatement( _configScope.SqlMapper, insert);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  756
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  757
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 757: Statement executed 2040 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 757: Statement executed 2040 times.">                _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  758
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  759
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">                <span class="ppdirec">#region statement SelectKey</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  760
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">                <span class="lineComment">// Set sql statement SelectKey </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  761
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 761: Expression evaluated to true 850 times, false 1190 times.">2040</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 761: Expression evaluated to true 850 times, false 1190 times.">                <span class="keyword">if</span> (insert.SelectKey != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  762
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 761: Statement executed 2040 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  763
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 763: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 763: Statement executed 850 times.">                    insert.SelectKey.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  764
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 764: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 764: Statement executed 850 times.">                    insert.SelectKey.Id = insert.Id + DOT + <span class="string">"SelectKey"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  765
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 765: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 765: Statement executed 850 times.">                    <span class="keyword">string</span> commandText = xmlNode.SelectSingleNode(<span class="string">"selectKey"</span>).FirstChild.InnerText.Replace('\n', ' ').Replace('\r', ' ').Replace('\t', ' ').Trim();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  766
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 766: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 766: Statement executed 850 times.">                    commandText = Resources.ParsePropertyTokens(commandText, _configScope.Properties);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  767
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 767: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 767: Statement executed 850 times.">                    StaticSql sql = <span class="keyword">new</span> StaticSql(insert.SelectKey);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  768
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 768: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 768: Statement executed 850 times.">                    IDalSession session = <span class="keyword">new</span> SqlMapSession( _configScope.SqlMapper.DataSource );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  769
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 769: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 769: Statement executed 850 times.">                    sql.BuildPreparedStatement( session, commandText );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  770
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 770: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 770: Statement executed 850 times.">                    insert.SelectKey.Sql = sql;                 </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  771
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 761: Statement executed 2040 times.">                    </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  772
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 761: Statement executed 2040 times.">                    <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  773
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 773: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 773: Statement executed 850 times.">                    mappedStatement = <span class="keyword">new</span> MappedStatement( _configScope.SqlMapper, insert.SelectKey);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  774
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 761: Statement executed 2040 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  775
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 775: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 775: Statement executed 850 times.">                    _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  776
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 761: Statement executed 2040 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  777
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">                <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  778
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 724: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  779
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  780
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  781
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Update tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  782
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 782: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 782: Statement executed 1870 times.">            Update update = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  783
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 783: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 783: Statement executed 1870 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Update));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  784
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 784: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/statements/update"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  785
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  786
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 786: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 786: Statement executed 850 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading update tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  787
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 787: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 787: Statement executed 850 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A update tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  788
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  789
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 789: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 789: Statement executed 850 times.">                MappedStatement mappedStatement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  790
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  791
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 791: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 791: Statement executed 850 times.">                update = (Update) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  792
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 792: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 792: Statement executed 850 times.">                update.CacheModelName = ApplyNamespace( update.CacheModelName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  793
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 793: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 793: Statement executed 850 times.">                update.ParameterMapName = ApplyNamespace( update.ParameterMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  794
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 794: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 794: Statement executed 850 times.">                update.ResultMapName = ApplyNamespace( update.ResultMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  795
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  796
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 796: Expression evaluated to true 0 times, false 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 796: Expression evaluated to true 0 times, false 850 times.">                <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  797
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 796: Statement executed 850 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  798
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 798: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 798: Statement not executed.">                    update.Id = ApplyNamespace(update.Id);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  799
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 796: Statement executed 850 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  800
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 800: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 800: Statement executed 850 times.">                _configScope.ErrorContext.ObjectId = update.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  801
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 801: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 801: Statement executed 850 times.">                update.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  802
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  803
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times.">                <span class="lineComment">// Build ISql (analyse sql statement)   </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  804
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 804: Expression evaluated to true 170 times, false 680 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Expression evaluated to true 170 times, false 680 times.">                <span class="keyword">if</span> (update.Generate != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  805
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  806
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 806: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 806: Statement executed 170 times.">                    GenerateCommandText(_configScope.SqlMapper, update);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  807
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  808
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  809
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  810
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                    <span class="lineComment">// Build ISql (analyse sql statement)       </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  811
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 811: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 811: Statement executed 680 times.">                    ProcessSqlStatement(update);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  812
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                        <span class="lineComment">//config, sqlMapName, sqlMap, xmlNode, update);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  813
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 804: Statement executed 850 times.">                }   </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  814
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  815
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times.">                <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  816
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 816: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 816: Statement executed 850 times.">                mappedStatement = <span class="keyword">new</span> UpdateMappedStatement( _configScope.SqlMapper, update);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  817
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  818
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 818: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 818: Statement executed 850 times.">                _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  819
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 784: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  820
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  821
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  822
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Delete tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  823
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 823: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 823: Statement executed 1870 times.">            Delete delete = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  824
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 824: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 824: Statement executed 1870 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Delete));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  825
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 825: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/statements/delete"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  826
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  827
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 827: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 827: Statement executed 680 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading delete tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  828
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 828: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 828: Statement executed 680 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A delete tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  829
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 829: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 829: Statement executed 680 times.">                MappedStatement mappedStatement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  830
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  831
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 831: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 831: Statement executed 680 times.">                delete = (Delete) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  832
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 832: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 832: Statement executed 680 times.">                delete.CacheModelName = ApplyNamespace( delete.CacheModelName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  833
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 833: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 833: Statement executed 680 times.">                delete.ParameterMapName = ApplyNamespace( delete.ParameterMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  834
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 834: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 834: Statement executed 680 times.">                delete.ResultMapName = ApplyNamespace( delete.ResultMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  835
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  836
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 836: Expression evaluated to true 0 times, false 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 836: Expression evaluated to true 0 times, false 680 times.">                <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  837
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 836: Statement executed 680 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  838
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 838: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 838: Statement not executed.">                    delete.Id = ApplyNamespace(delete.Id);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  839
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 836: Statement executed 680 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  840
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 840: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 840: Statement executed 680 times.">                _configScope.ErrorContext.ObjectId = delete.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  841
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 841: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 841: Statement executed 680 times.">                delete.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  842
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  843
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times.">                <span class="lineComment">// Build ISql (analyse sql statement)</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  844
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 844: Expression evaluated to true 170 times, false 510 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Expression evaluated to true 170 times, false 510 times.">                <span class="keyword">if</span> (delete.Generate != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  845
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  846
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 846: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 846: Statement executed 170 times.">                    GenerateCommandText(_configScope.SqlMapper, delete);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  847
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  848
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  849
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  850
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                    <span class="lineComment">// Build ISql (analyse sql statement)       </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  851
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 851: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 851: Statement executed 510 times.">                    ProcessSqlStatement(delete);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  852
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                        <span class="lineComment">//config, sqlMapName, sqlMap, xmlNode, delete);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  853
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 844: Statement executed 680 times.">                }   </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  854
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  855
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times.">                <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  856
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 856: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 856: Statement executed 680 times.">                mappedStatement = <span class="keyword">new</span> DeleteMappedStatement( _configScope.SqlMapper, delete);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  857
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  858
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 858: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 858: Statement executed 680 times.">                _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  859
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 825: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  860
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  861
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  862
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Procedure tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  863
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 863: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 863: Statement executed 1870 times.">            Procedure procedure = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  864
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 864: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 864: Statement executed 1870 times.">            serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(Procedure));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  865
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 865: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times.">            <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/statements/procedure"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  866
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  867
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 867: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 867: Statement executed 680 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"loading procedure tag"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  868
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 868: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 868: Statement executed 680 times.">                _configScope.NodeContext = xmlNode; <span class="lineComment">// A procedure tag</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  869
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  870
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 870: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 870: Statement executed 680 times.">                MappedStatement mappedStatement = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  871
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  872
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 872: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 872: Statement executed 680 times.">                procedure = (Procedure)serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  873
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 873: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 873: Statement executed 680 times.">                procedure.CacheModelName = ApplyNamespace( procedure.CacheModelName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  874
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 874: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 874: Statement executed 680 times.">                procedure.ParameterMapName = ApplyNamespace( procedure.ParameterMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  875
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 875: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 875: Statement executed 680 times.">                procedure.ResultMapName = ApplyNamespace( procedure.ResultMapName );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  876
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  877
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 877: Expression evaluated to true 0 times, false 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 877: Expression evaluated to true 0 times, false 680 times.">                <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  878
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 877: Statement executed 680 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  879
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 879: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 879: Statement not executed.">                    procedure.Id = ApplyNamespace(procedure.Id);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  880
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 877: Statement executed 680 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  881
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 881: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 881: Statement executed 680 times.">                _configScope.ErrorContext.ObjectId = procedure.Id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  882
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 882: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 882: Statement executed 680 times.">                procedure.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  883
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  884
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times.">                <span class="lineComment">// Build ISql (analyse sql command text)</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  885
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 885: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 885: Statement executed 680 times.">                ProcessSqlStatement( procedure );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  886
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times.">                    <span class="lineComment">//config, sqlMapName, sqlMap, xmlNode, procedure);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  887
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  888
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times.">                <span class="lineComment">// Build MappedStatement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  889
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 889: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 889: Statement executed 680 times.">                mappedStatement = <span class="keyword">new</span> MappedStatement( _configScope.SqlMapper, procedure);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  890
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  891
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 891: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 891: Statement executed 680 times.">                _configScope.SqlMapper.AddMappedStatement(mappedStatement.Name, mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  892
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 865: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  893
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  894
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  895
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  896
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  897
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#region Load CacheModels</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  898
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  899
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 899: Expression evaluated to true 1870 times, false 0 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 899: Expression evaluated to true 1870 times, false 0 times.">            <span class="keyword">if</span> (_configScope.IsCacheModelsEnabled == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  900
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 899: Statement executed 1870 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  901
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 901: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 901: Statement executed 1870 times.">                CacheModel cacheModel = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  902
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 902: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 902: Statement executed 1870 times.">                serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(CacheModel));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  903
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 903: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times.">                <span class="keyword">foreach</span> (XmlNode xmlNode <span class="keyword">in</span> _configScope.SqlMapDocument.SelectNodes(<span class="string">"/sqlMap/cacheModels/cacheModel"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  904
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  905
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 905: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 905: Statement executed 170 times.">                    cacheModel = (CacheModel) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(xmlNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  906
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 906: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 906: Statement executed 170 times.">                    cacheModel.Id = ApplyNamespace( cacheModel.Id );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  907
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  908
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times.">                    <span class="lineComment">// Attach ExecuteEventHandler</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  909
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 909: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 909: Statement executed 170 times.">                    <span class="keyword">foreach</span>(XmlNode flushOn <span class="keyword">in</span> xmlNode.SelectNodes(<span class="string">"flushOnExecute"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  910
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 909: Statement executed 170 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  911
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 911: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 911: Statement executed 340 times.">                        <span class="keyword">string</span> statementName = flushOn.Attributes[<span class="string">"statement"</span>].Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  912
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 912: Expression evaluated to true 0 times, false 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 912: Expression evaluated to true 0 times, false 340 times.">                        <span class="keyword">if</span> (_configScope.UseStatementNamespaces == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  913
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 912: Statement executed 340 times.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  914
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 914: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 914: Statement not executed.">                            statementName = _configScope.SqlMapNamespace + DOT + statementName;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  915
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 912: Statement executed 340 times.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  916
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 909: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  917
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 917: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 917: Statement executed 340 times.">                        MappedStatement mappedStatement = _configScope.SqlMapper.GetMappedStatement(statementName);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  918
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 909: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  919
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 919: Statement executed 340 times.">340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 919: Statement executed 340 times.">                        cacheModel.RegisterTriggerStatement(mappedStatement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  920
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 909: Statement executed 170 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  921
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  922
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times.">                    <span class="lineComment">// Get Properties</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  923
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 923: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 923: Statement executed 170 times.">                    <span class="keyword">foreach</span>(XmlNode propertie <span class="keyword">in</span> xmlNode.SelectNodes(<span class="string">"property"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  924
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 923: Statement executed 170 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  925
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 925: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 925: Statement executed 170 times.">                        <span class="keyword">string</span> name = propertie.Attributes[<span class="string">"name"</span>].Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  926
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 926: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 926: Statement executed 170 times.">                        <span class="keyword">string</span> value = propertie.Attributes[<span class="string">"value"</span>].Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  927
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 923: Statement executed 170 times.">                    </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  928
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 928: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 928: Statement executed 170 times.">                        cacheModel.AddPropertie(name, value);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  929
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 923: Statement executed 170 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  930
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  931
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 931: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 931: Statement executed 170 times.">                    cacheModel.Initialize();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  932
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  933
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 933: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 933: Statement executed 170 times.">                    _configScope.SqlMapper.AddCache( cacheModel );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  934
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 903: Statement executed 1870 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  935
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 899: Statement executed 1870 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  936
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  937
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">            <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  938
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  939
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 939: Statement executed 1870 times.">1870</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 939: Statement executed 1870 times.">            _configScope.ErrorContext.Reset();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  940
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 576: Method ConfigureSqlMap entered 1870 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  941
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  942
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  943
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  944
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Process the Sql Statement</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  945
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  946
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="statement">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  947
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 947: Method ProcessSqlStatement entered 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times.">        <span class="keyword">private</span> <span class="keyword">void</span> ProcessSqlStatement( IStatement statement )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  948
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  949
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 949: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 949: Statement executed 24820 times.">            <span class="keyword">bool</span> isDynamic = <span class="keyword">false</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  950
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 950: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 950: Statement executed 24820 times.">            XmlNode commandTextNode = _configScope.NodeContext;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  951
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 951: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 951: Statement executed 24820 times.">            DynamicSql dynamic = <span class="keyword">new</span> DynamicSql(_configScope.TypeHandlerFactory,  statement, _configScope.DataSource.Provider.UsePositionalParameters );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  952
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 952: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 952: Statement executed 24820 times.">            StringBuilder sqlBuffer = <span class="keyword">new</span> StringBuilder();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  953
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  954
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 954: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 954: Statement executed 24820 times.">            _configScope.ErrorContext.MoreInfo = <span class="string">"process the Sql statement"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  955
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  956
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times.">            <span class="lineComment">// Resolve "extend" attribute on Statement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  957
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 957: Expression evaluated to true 510 times, false 24310 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 957: Expression evaluated to true 510 times, false 24310 times.">            <span class="keyword">if</span> (statement.ExtendSatement.Length >0)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  958
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 957: Statement executed 24820 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  959
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 957: Statement executed 24820 times.">                <span class="lineComment">// Find 'super' statement</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  960
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 960: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 960: Statement executed 510 times.">                XmlNode supperStatementNode = _configScope.SqlMapDocument.SelectSingleNode(<span class="string">"/sqlMap/statements/child::*[@id='"</span>+statement.ExtendSatement+<span class="string">"']"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  961
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 961: Expression evaluated to true 510 times, false 0 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 961: Expression evaluated to true 510 times, false 0 times.">                <span class="keyword">if</span> (supperStatementNode!=<span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  962
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 961: Statement executed 510 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  963
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 963: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 963: Statement executed 510 times.">                    commandTextNode.InnerXml = supperStatementNode.InnerXml + commandTextNode.InnerXml;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  964
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 961: Statement executed 510 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  965
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 961: Statement executed 510 times.">                <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  966
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 961: Statement executed 510 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  967
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 967: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 967: Statement not executed.">                    <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(<span class="string">"Unable to find extend statement named '"</span>+statement.ExtendSatement+<span class="string">"' on statement '"</span>+statement.Id+<span class="string">"'.'"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  968
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 961: Statement executed 510 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  969
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 957: Statement executed 24820 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  970
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  971
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 971: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 971: Statement executed 24820 times.">            _configScope.ErrorContext.MoreInfo = <span class="string">"parse dynamic tags on sql statement"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  972
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  973
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 973: Statement executed 24820 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 973: Statement executed 24820 times.">            isDynamic = ParseDynamicTags( commandTextNode, dynamic, sqlBuffer, isDynamic, <span class="keyword">false</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  974
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  975
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 975: Expression evaluated to true 4590 times, false 20230 times.">24820</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 975: Expression evaluated to true 4590 times, false 20230 times.">            <span class="keyword">if</span> (isDynamic) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  976
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 975: Statement executed 24820 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  977
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 977: Statement executed 4590 times.">4590</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 977: Statement executed 4590 times.">                statement.Sql = dynamic;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  978
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 975: Statement executed 24820 times.">            } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  979
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 975: Statement executed 24820 times.">            <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  980
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 975: Statement executed 24820 times.">            {   </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  981
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 981: Statement executed 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 981: Statement executed 20230 times.">                <span class="keyword">string</span> sqlText = sqlBuffer.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  982
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 982: Statement executed 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 982: Statement executed 20230 times.">                ApplyInlineParemeterMap( statement, sqlText);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  983
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 975: Statement executed 24820 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  984
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 947: Method ProcessSqlStatement entered 24820 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  985
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  986
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">                </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  987
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  988
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Parse dynamic tags</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  989
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  990
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="commandTextNode">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  991
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="dynamic">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  992
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="sqlBuffer">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  993
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="isDynamic">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  994
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="postParseRequired">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  995
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;returns>&lt;/returns></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  996
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 996: Method ParseDynamicTags entered 35530 times.">35530</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 996: Method ParseDynamicTags entered 35530 times.">        <span class="keyword">private</span> <span class="keyword">bool</span> ParseDynamicTags( XmlNode commandTextNode, IDynamicParent dynamic, </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  997
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 996: Method ParseDynamicTags entered 35530 times.">            StringBuilder sqlBuffer, <span class="keyword">bool</span> isDynamic, <span class="keyword">bool</span> postParseRequired) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  998
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 996: Method ParseDynamicTags entered 35530 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  999
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 999: Statement executed 35530 times.">35530</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 999: Statement executed 35530 times.">            XmlNodeList children = commandTextNode.ChildNodes;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1000
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1000: Expression evaluated to true 45390 times, false 35530 times.">80920</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1000: Expression evaluated to true 45390 times, false 35530 times.">            <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; children.Count; i++) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1001
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1000: Statement executed 35530 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1002
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1002: Statement executed 45390 times.">45390</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1002: Statement executed 45390 times.">                XmlNode child = children[i];</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1003
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1003: Expression evaluated to true 33660 times, false 11730 times.">45390</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Expression evaluated to true 33660 times, false 11730 times.">                <span class="keyword">if</span> ( (child.NodeType == XmlNodeType.CDATA) || (child.NodeType == XmlNodeType.Text) )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1004
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1005
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1005: Statement executed 33660 times.">33660</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1005: Statement executed 33660 times.">                    <span class="keyword">string</span> data = child.InnerText.Replace('\n', ' ').Replace('\r', ' ').Replace('\t', ' ').Trim(); <span class="lineComment">//??</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1006
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1007
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1007: Statement executed 33660 times.">33660</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1007: Statement executed 33660 times.">                    data = Resources.ParsePropertyTokens(data, _configScope.Properties);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1008
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1009
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1009: Statement executed 33660 times.">33660</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1009: Statement executed 33660 times.">                    SqlText sqlText = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1010
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1010: Expression evaluated to true 1360 times, false 32300 times.">33660</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1010: Expression evaluated to true 1360 times, false 32300 times.">                    <span class="keyword">if</span> ( postParseRequired == <span class="keyword">true</span> ) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1011
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1010: Statement executed 33660 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1012
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1012: Statement executed 1360 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1012: Statement executed 1360 times.">                        sqlText = <span class="keyword">new</span> SqlText();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1013
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1013: Statement executed 1360 times.">1360</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1013: Statement executed 1360 times.">                        sqlText.Text = data.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1014
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1010: Statement executed 33660 times.">                    } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1015
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1010: Statement executed 33660 times.">                    <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1016
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1010: Statement executed 33660 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1017
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1017: Statement executed 32300 times.">32300</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1017: Statement executed 32300 times.">                        sqlText = _paramParser.ParseInlineParameterMap(_configScope.TypeHandlerFactory, <span class="keyword">null</span>, data );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1018
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1010: Statement executed 33660 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1019
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1020
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1020: Statement executed 33660 times.">33660</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1020: Statement executed 33660 times.">                    dynamic.AddChild(sqlText);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1021
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1021: Statement executed 33660 times.">33660</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1021: Statement executed 33660 times.">                    sqlBuffer.Append(data);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1022
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times.">                } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1023
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times.">                <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1024
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1025
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1025: Statement executed 11730 times.">11730</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1025: Statement executed 11730 times.">                    <span class="keyword">string</span> nodeName = child.Name;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1026
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1026: Statement executed 11730 times.">11730</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1026: Statement executed 11730 times.">                    XmlSerializer serializer = SerializerFactory.GetSerializer(nodeName);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1027
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1028
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1028: Expression evaluated to true 10710 times, false 1020 times.">11730</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1028: Expression evaluated to true 10710 times, false 1020 times.">                    <span class="keyword">if</span> (serializer != <span class="keyword">null</span>) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1029
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1028: Statement executed 11730 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1030
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1030: Statement executed 10710 times.">10710</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1030: Statement executed 10710 times.">                        isDynamic = <span class="keyword">true</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1031
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1031: Statement executed 10710 times.">10710</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1031: Statement executed 10710 times.">                        SqlTag tag = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1032
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1028: Statement executed 11730 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1033
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1033: Statement executed 10710 times.">10710</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1033: Statement executed 10710 times.">                        tag = (SqlTag) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(child));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1034
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1028: Statement executed 11730 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1035
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1035: Statement executed 10710 times.">10710</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1035: Statement executed 10710 times.">                        dynamic.AddChild(tag);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1036
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1028: Statement executed 11730 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1037
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1037: Expression evaluated to true 10710 times, false 0 times.">10710</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1037: Expression evaluated to true 10710 times, false 0 times.">                        <span class="keyword">if</span> (child.HasChildNodes == <span class="keyword">true</span>) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1038
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1037: Statement executed 10710 times.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1039
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1039: Statement executed 10710 times.">10710</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1039: Statement executed 10710 times.">                            isDynamic = ParseDynamicTags( child, tag, sqlBuffer, isDynamic, tag.Handler.IsPostParseRequired );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1040
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1037: Statement executed 10710 times.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1041
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1028: Statement executed 11730 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1042
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1003: Statement executed 45390 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1043
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1000: Statement executed 35530 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1044
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 996: Method ParseDynamicTags entered 35530 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1045
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1045: Statement executed 35530 times.">35530</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1045: Statement executed 35530 times.">            <span class="keyword">return</span> isDynamic;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1046
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 996: Method ParseDynamicTags entered 35530 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1047
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1048
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1049
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#region Inline Parameter parsing</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1050
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1051
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1052
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Apply inline paremeterMap</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1053
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1054
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="statement">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1055
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="sqlStatement">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1056
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times.">        <span class="keyword">private</span> <span class="keyword">void</span> ApplyInlineParemeterMap( IStatement statement, <span class="keyword">string</span> sqlStatement)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1057
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1058
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1058: Statement executed 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1058: Statement executed 20230 times.">            <span class="keyword">string</span> newSql = sqlStatement;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1059
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1060
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1060: Statement executed 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1060: Statement executed 20230 times.">            _configScope.ErrorContext.MoreInfo = <span class="string">"apply inline parameterMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1061
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1062
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times.">            <span class="lineComment">// Check the inline parameter</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1063
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1063: Expression evaluated to true 17510 times, false 2720 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Expression evaluated to true 17510 times, false 2720 times.">            <span class="keyword">if</span> (statement.ParameterMap == <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1064
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Statement executed 20230 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1065
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Statement executed 20230 times.">                <span class="lineComment">// Build a Parametermap with the inline parameters.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1066
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Statement executed 20230 times.">                <span class="lineComment">// if they exist. Then delete inline infos from sqltext.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1067
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Statement executed 20230 times.">                </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1068
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1068: Statement executed 17510 times.">17510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1068: Statement executed 17510 times.">                SqlText sqlText = _paramParser.ParseInlineParameterMap(_configScope.TypeHandlerFactory,  statement, newSql );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1069
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Statement executed 20230 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1070
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1070: Expression evaluated to true 13430 times, false 4080 times.">17510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1070: Expression evaluated to true 13430 times, false 4080 times.">                <span class="keyword">if</span> (sqlText.Parameters.Length > 0)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1071
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1070: Statement executed 17510 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1072
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1072: Statement executed 13430 times.">13430</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1072: Statement executed 13430 times.">                    ParameterMap map = <span class="keyword">new</span> ParameterMap(_configScope.DataSource.Provider.UsePositionalParameters);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1073
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1073: Statement executed 13430 times.">13430</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1073: Statement executed 13430 times.">                    map.Id = statement.Id + <span class="string">"-InLineParameterMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1074
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1074: Statement executed 13430 times.">13430</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1074: Statement executed 13430 times.">                    statement.ParameterMap = map;   </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1075
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1070: Statement executed 17510 times.">                </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1076
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1076: Expression evaluated to true 20910 times, false 13430 times.">34340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1076: Expression evaluated to true 20910 times, false 13430 times.">                    <span class="keyword">for</span>(<span class="keyword">int</span> index=0;index&lt;sqlText.Parameters.Length;index++)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1077
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1076: Statement executed 13430 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1078
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1078: Statement executed 20910 times.">20910</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1078: Statement executed 20910 times.">                        map.AddParameterProperty( sqlText.Parameters[index] );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1079
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1076: Statement executed 13430 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1080
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1070: Statement executed 17510 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1081
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1081: Statement executed 17510 times.">17510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1081: Statement executed 17510 times.">                newSql = sqlText.Text;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1082
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1063: Statement executed 20230 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1083
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1084
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1084: Statement executed 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1084: Statement executed 20230 times.">            ISql sql = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1085
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1086
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1086: Expression evaluated to true 850 times, false 19380 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1086: Expression evaluated to true 850 times, false 19380 times.">            <span class="keyword">if</span> (SimpleDynamicSql.IsSimpleDynamicSql(newSql)) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1087
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1086: Statement executed 20230 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1088
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1088: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1088: Statement executed 850 times.">                sql = <span class="keyword">new</span> SimpleDynamicSql(_configScope.TypeHandlerFactory, newSql, statement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1089
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1086: Statement executed 20230 times.">            } </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1090
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1086: Statement executed 20230 times.">            <span class="keyword">else</span> </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1091
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1086: Statement executed 20230 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1092
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1092: Expression evaluated to true 680 times, false 18700 times.">19380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1092: Expression evaluated to true 680 times, false 18700 times.">                <span class="keyword">if</span> (statement <span class="keyword">is</span> Procedure)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1093
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1092: Statement executed 19380 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1094
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1094: Statement executed 680 times.">680</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1094: Statement executed 680 times.">                    sql = <span class="keyword">new</span> ProcedureSql(newSql, statement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1095
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1092: Statement executed 19380 times.">                    <span class="lineComment">// Could not call BuildPreparedStatement for procedure because when NUnit Test</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1096
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1092: Statement executed 19380 times.">                    <span class="lineComment">// the database is not here (but in theory procedure must be prepared like statement)</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1097
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1092: Statement executed 19380 times.">                    <span class="lineComment">// It's even better as we can then switch DataSource.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1098
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1092: Statement executed 19380 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1099
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1099: Expression evaluated to true 18700 times, false 0 times.">18700</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1099: Expression evaluated to true 18700 times, false 0 times.">                <span class="keyword">else</span> <span class="keyword">if</span> (statement <span class="keyword">is</span> Statement)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1100
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1099: Statement executed 18700 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1101
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1101: Statement executed 18700 times.">18700</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1101: Statement executed 18700 times.">                    sql = <span class="keyword">new</span> StaticSql(statement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1102
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1102: Statement executed 18700 times.">18700</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1102: Statement executed 18700 times.">                    IDalSession session = <span class="keyword">new</span> SqlMapSession(_configScope.SqlMapper.DataSource);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1103
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1099: Statement executed 18700 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1104
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1104: Statement executed 18700 times.">18700</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1104: Statement executed 18700 times.">                    ((StaticSql)sql).BuildPreparedStatement( session, newSql );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1105
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1099: Statement executed 18700 times.">                }                   </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1106
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1086: Statement executed 20230 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1107
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1107: Statement executed 20230 times.">20230</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1107: Statement executed 20230 times.">            statement.Sql = sql;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1108
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1056: Method ApplyInlineParemeterMap entered 20230 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1109
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1110
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1111
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1112
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1113
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1114
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Initialize the list of variables defined in the</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1115
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">properties file.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1116
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1117
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1117: Method ParseGlobalProperties entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1117: Method ParseGlobalProperties entered 170 times.">        <span class="keyword">private</span> <span class="keyword">void</span> ParseGlobalProperties()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1118
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1117: Method ParseGlobalProperties entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1119
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1119: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1119: Statement executed 170 times.">            XmlNode nodeProperties = _configScope.NodeContext.SelectSingleNode(<span class="string">"properties"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1120
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1120: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1120: Statement executed 170 times.">            _configScope.ErrorContext.Activity = <span class="string">"loading global properties"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1121
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1117: Method ParseGlobalProperties entered 170 times.">            </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1122
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1122: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1122: Expression evaluated to true 170 times, false 0 times.">            <span class="keyword">if</span> (nodeProperties != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1123
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1124
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">                <span class="lineComment">// JIRA-38 Fix </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1125
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">                <span class="lineComment">// &lt;properties> element's InnerXml is currently an empty string anyway</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1126
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">                <span class="lineComment">// since &lt;settings> are in properties file</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1127
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">                <span class="lineComment">//_configScope.ErrorContext.Resource = nodeProperties.InnerXml.ToString();</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1128
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1128: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1128: Statement executed 170 times.">                _configScope.ErrorContext.Resource = nodeProperties.OuterXml.ToString();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1129
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1130
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">                <span class="lineComment">// Load the file defined by the resource attribute</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1131
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1131: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1131: Statement executed 170 times.">                XmlDocument propertiesConfig = Resources.GetAsXmlDocument(nodeProperties); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1132
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1133
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1133: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1133: Statement executed 170 times.">                <span class="keyword">foreach</span> (XmlNode node <span class="keyword">in</span> propertiesConfig.SelectNodes(<span class="string">"/settings/add"</span>))</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1134
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1133: Statement executed 170 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1135
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1135: Statement executed 2210 times.">2210</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1135: Statement executed 2210 times.">                    _configScope.Properties[node.Attributes[<span class="string">"key"</span>].Value] = node.Attributes[<span class="string">"value"</span>].Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1136
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1133: Statement executed 170 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1137
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1122: Statement executed 170 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1138
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1117: Method ParseGlobalProperties entered 170 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1139
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1139: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1139: Statement executed 170 times.">            _configScope.ErrorContext.Reset();;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1140
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1117: Method ParseGlobalProperties entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1141
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1142
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1143
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1144
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1145
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Generate the command text for CRUD operation</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1146
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1147
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="sqlMap">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1148
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="statement">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1149
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1149: Method GenerateCommandText entered 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times.">        <span class="keyword">private</span> <span class="keyword">void</span> GenerateCommandText(SqlMapper sqlMap, IStatement statement)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1150
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1151
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1151: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1151: Statement executed 850 times.">            <span class="keyword">string</span> generatedSQL = <span class="keyword">string</span>.Empty;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1152
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1153
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times.">            <span class="lineComment">//------ Build SQL CommandText</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1154
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1154: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1154: Statement executed 850 times.">            generatedSQL = SqlGenerator.BuildQuery(statement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1155
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1156
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1156: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1156: Statement executed 850 times.">            ISql sql = <span class="keyword">new</span> StaticSql(statement);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1157
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1157: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1157: Statement executed 850 times.">            IDalSession session = <span class="keyword">new</span> SqlMapSession(sqlMap.DataSource);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1158
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1159
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1159: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1159: Statement executed 850 times.">            ((StaticSql)sql).BuildPreparedStatement( session, generatedSQL );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1160
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1160: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1160: Statement executed 850 times.">            statement.Sql = sql;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1161
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1149: Method GenerateCommandText entered 850 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1162
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1163
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1164
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1165
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Build a ParameterMap</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1166
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1167
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1167: Method BuildParameterMap entered 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times.">        <span class="keyword">private</span> <span class="keyword">void</span> BuildParameterMap()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1168
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times.">         {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1169
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1169: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1169: Statement executed 3400 times.">            ParameterMap parameterMap = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1170
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1170: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1170: Statement executed 3400 times.">            XmlNode parameterMapNode = _configScope.NodeContext;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1171
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1172
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1172: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1172: Statement executed 3400 times.">            XmlSerializer serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(ParameterMap));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1173
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1174
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1174: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1174: Statement executed 3400 times.">            _configScope.ErrorContext.MoreInfo = <span class="string">"build ParameterMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1175
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1176
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times.">            <span class="lineComment">// Get the parameterMap id</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1177
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1177: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1177: Statement executed 3400 times.">            <span class="keyword">string</span> id = ApplyNamespace( ((XmlAttribute)parameterMapNode.Attributes.GetNamedItem(<span class="string">"id"</span>)).Value );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1178
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1178: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1178: Statement executed 3400 times.">            _configScope.ErrorContext.ObjectId = id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1179
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1180
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times.">            <span class="lineComment">// Did we already process it ?</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1181
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1181: Expression evaluated to true 3400 times, false 0 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1181: Expression evaluated to true 3400 times, false 0 times.">            <span class="keyword">if</span> (_configScope.SqlMapper.ParameterMaps.Contains( id ) == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1182
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1181: Statement executed 3400 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1183
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1183: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1183: Statement executed 3400 times.">                parameterMap = (ParameterMap) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(parameterMapNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1184
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1181: Statement executed 3400 times.">                </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1185
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1185: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1185: Statement executed 3400 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"Initialize ParameterMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1186
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1186: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1186: Statement executed 3400 times.">                _configScope.NodeContext = parameterMapNode;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1187
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1187: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1187: Statement executed 3400 times.">                parameterMap.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1188
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1181: Statement executed 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1189
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1189: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1189: Statement executed 3400 times.">                parameterMap.Id = ApplyNamespace( parameterMap.Id );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1190
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1190: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1190: Statement executed 3400 times.">                <span class="keyword">string</span> attributeExtendMap = parameterMap.ExtendMap;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1191
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1191: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1191: Statement executed 3400 times.">                parameterMap.ExtendMap = ApplyNamespace( parameterMap.ExtendMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1192
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1181: Statement executed 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1193
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1193: Expression evaluated to true 510 times, false 2890 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1193: Expression evaluated to true 510 times, false 2890 times.">                <span class="keyword">if</span> (parameterMap.ExtendMap.Length >0)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1194
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1193: Statement executed 3400 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1195
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1195: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1195: Statement executed 510 times.">                    ParameterMap superMap = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1196
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1193: Statement executed 3400 times.">                    <span class="lineComment">// Did we already build Extend ParameterMap ?</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1197
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1197: Expression evaluated to true 0 times, false 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1197: Expression evaluated to true 0 times, false 510 times.">                    <span class="keyword">if</span> (_configScope.SqlMapper.ParameterMaps.Contains( parameterMap.ExtendMap ) == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1198
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1197: Statement executed 510 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1199
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1199: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1199: Statement not executed.">                        XmlNode superNode = _configScope.SqlMapConfigDocument.SelectSingleNode(<span class="string">"/sqlMap/parameterMaps/parameterMap[@id='"</span>+ attributeExtendMap +<span class="string">"']"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1200
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1197: Statement executed 510 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1201
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1201: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                        <span class="keyword">if</span> (superNode != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1202
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1203
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                            _configScope.ErrorContext.MoreInfo = <span class="string">"Build parent ParameterMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1204
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                            _configScope.NodeContext = superNode;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1205
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                            BuildParameterMap();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1206
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                            superMap = _configScope.SqlMapper.GetParameterMap( parameterMap.ExtendMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1207
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1208
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                        <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1209
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1210
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                            <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(<span class="string">"In mapping file '"</span>+ _configScope.SqlMapNamespace +<span class="string">"' the parameterMap '"</span>+parameterMap.Id+<span class="string">"' can not resolve extends attribute '"</span>+parameterMap.ExtendMap+<span class="string">"'"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1211
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1201: Statement not executed.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1212
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1197: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1213
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1197: Statement executed 510 times.">                    <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1214
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1197: Statement executed 510 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1215
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1215: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1215: Statement executed 510 times.">                        superMap = _configScope.SqlMapper.GetParameterMap( parameterMap.ExtendMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1216
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1197: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1217
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1193: Statement executed 3400 times.">                    <span class="lineComment">// Add extends property</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1218
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1218: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1218: Statement executed 510 times.">                    <span class="keyword">int</span> index = 0;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1219
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1193: Statement executed 3400 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1220
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1220: Statement executed 510 times.">510</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1220: Statement executed 510 times.">                    <span class="keyword">foreach</span>(<span class="keyword">string</span> propertyName <span class="keyword">in</span> superMap.GetPropertyNameArray())</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1221
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1220: Statement executed 510 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1222
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1222: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1222: Statement executed 2380 times.">                        parameterMap.InsertParameterProperty( index, superMap.GetProperty(propertyName) );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1223
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1223: Statement executed 2380 times.">2380</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1223: Statement executed 2380 times.">                        index++;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1224
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1220: Statement executed 510 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1225
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1193: Statement executed 3400 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1226
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1226: Statement executed 3400 times.">3400</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1226: Statement executed 3400 times.">                _configScope.SqlMapper.AddParameterMap( parameterMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1227
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1181: Statement executed 3400 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1228
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1167: Method BuildParameterMap entered 3400 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1229
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1230
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1231
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1232
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Build a ResultMap</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1233
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1234
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1234: Method BuildResultMap entered 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times.">        <span class="keyword">private</span> <span class="keyword">void</span> BuildResultMap()</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1235
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times.">         {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1236
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1236: Statement executed 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1236: Statement executed 5100 times.">            ResultMap resultMap = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1237
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1237: Statement executed 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1237: Statement executed 5100 times.">            XmlNode resultMapNode = _configScope.NodeContext;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1238
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1239
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1239: Statement executed 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1239: Statement executed 5100 times.">            XmlSerializer serializer = <span class="keyword">new</span> XmlSerializer(<span class="keyword">typeof</span>(ResultMap));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1240
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1241
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1241: Statement executed 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1241: Statement executed 5100 times.">            _configScope.ErrorContext.MoreInfo = <span class="string">"build ResultMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1242
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1243
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1243: Statement executed 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1243: Statement executed 5100 times.">            <span class="keyword">string</span> id = ApplyNamespace(  ((XmlAttribute)resultMapNode.Attributes.GetNamedItem(<span class="string">"id"</span>)).Value );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1244
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1244: Statement executed 5100 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1244: Statement executed 5100 times.">            _configScope.ErrorContext.ObjectId = id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1245
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1246
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times.">            <span class="lineComment">// Did we alredy process it</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1247
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1247: Expression evaluated to true 4930 times, false 170 times.">5100</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Expression evaluated to true 4930 times, false 170 times.">            <span class="keyword">if</span> (_configScope.SqlMapper.ResultMaps.Contains( id ) == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1248
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Statement executed 5100 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1249
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1249: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1249: Statement executed 4930 times.">                resultMap = (ResultMap) serializer.Deserialize(<span class="keyword">new</span> XmlNodeReader(resultMapNode));</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1250
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Statement executed 5100 times.">                </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1251
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1251: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1251: Statement executed 4930 times.">                resultMap.SqlMapNameSpace = _configScope.SqlMapNamespace;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1252
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Statement executed 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1253
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1253: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1253: Statement executed 4930 times.">                _configScope.ErrorContext.MoreInfo = <span class="string">"initialize ResultMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1254
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1254: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1254: Statement executed 4930 times.">                resultMap.Initialize( _configScope );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1255
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Statement executed 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1256
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1256: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1256: Statement executed 4930 times.">                resultMap.Id = ApplyNamespace( resultMap.Id );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1257
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1257: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1257: Statement executed 4930 times.">                <span class="keyword">string</span> attributeExtendMap = resultMap.ExtendMap;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1258
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1258: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1258: Statement executed 4930 times.">                resultMap.ExtendMap = ApplyNamespace( resultMap.ExtendMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1259
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Statement executed 5100 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1260
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1260: Expression evaluated to true 1020 times, false 3910 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1260: Expression evaluated to true 1020 times, false 3910 times.">                <span class="keyword">if</span> (resultMap.ExtendMap.Length >0)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1261
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1260: Statement executed 4930 times.">                {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1262
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1262: Statement executed 1020 times.">1020</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1262: Statement executed 1020 times.">                    ResultMap superMap = <span class="keyword">null</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1263
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1260: Statement executed 4930 times.">                    <span class="lineComment">// Did we already build Extend ResultMap?</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1264
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1264: Expression evaluated to true 170 times, false 850 times.">1020</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Expression evaluated to true 170 times, false 850 times.">                    <span class="keyword">if</span> (_configScope.SqlMapper.ResultMaps.Contains( resultMap.ExtendMap ) == <span class="keyword">false</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1265
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Statement executed 1020 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1266
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1266: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1266: Statement executed 170 times.">                        XmlNode superNode = _configScope.SqlMapDocument.SelectSingleNode(<span class="string">"/sqlMap/resultMaps/resultMap[@id='"</span>+ attributeExtendMap +<span class="string">"']"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1267
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Statement executed 1020 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1268
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1268: Expression evaluated to true 170 times, false 0 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1268: Expression evaluated to true 170 times, false 0 times.">                        <span class="keyword">if</span> (superNode != <span class="keyword">null</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1269
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1268: Statement executed 170 times.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1270
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1270: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1270: Statement executed 170 times.">                            _configScope.ErrorContext.MoreInfo = <span class="string">"Build parent ResultMap"</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1271
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1271: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1271: Statement executed 170 times.">                            _configScope.NodeContext = superNode;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1272
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1272: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1272: Statement executed 170 times.">                            BuildResultMap();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1273
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1273: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1273: Statement executed 170 times.">                            superMap = _configScope.SqlMapper.GetResultMap( resultMap.ExtendMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1274
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1268: Statement executed 170 times.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1275
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1268: Statement executed 170 times.">                        <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1276
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1268: Statement executed 170 times.">                        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1277
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 1277: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 1277: Statement not executed.">                            <span class="keyword">throw</span> <span class="keyword">new</span> ConfigurationException(<span class="string">"In mapping file '"</span>+_configScope.SqlMapNamespace+<span class="string">"' the resultMap '"</span>+resultMap.Id+<span class="string">"' can not resolve extends attribute '"</span>+resultMap.ExtendMap+<span class="string">"'"</span> );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1278
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1268: Statement executed 170 times.">                        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1279
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Statement executed 1020 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1280
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Statement executed 1020 times.">                    <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1281
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Statement executed 1020 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1282
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1282: Statement executed 850 times.">850</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1282: Statement executed 850 times.">                        superMap = _configScope.SqlMapper.GetResultMap( resultMap.ExtendMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1283
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1264: Statement executed 1020 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1284
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1260: Statement executed 4930 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1285
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1260: Statement executed 4930 times.">                    <span class="lineComment">// Add parent property</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1286
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1286: Statement executed 1020 times.">1020</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1286: Statement executed 1020 times.">                    <span class="keyword">foreach</span>(DictionaryEntry dicoEntry <span class="keyword">in</span> superMap.ColumnsToPropertiesMap)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1287
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1286: Statement executed 1020 times.">                    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1288
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1288: Statement executed 6800 times.">6800</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1288: Statement executed 6800 times.">                        ResultProperty property = (ResultProperty)dicoEntry.Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1289
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1289: Statement executed 6800 times.">6800</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1289: Statement executed 6800 times.">                        resultMap.AddResultPropery(property);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1290
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1286: Statement executed 1020 times.">                    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1291
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1260: Statement executed 4930 times.">                }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1292
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1292: Statement executed 4930 times.">4930</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1292: Statement executed 4930 times.">                _configScope.SqlMapper.AddResultMap( resultMap );</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1293
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1247: Statement executed 5100 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1294
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1234: Method BuildResultMap entered 5100 times.">         }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1295
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1296
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1297
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1298
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Register under Statement Name or Fully Qualified Statement Name</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1299
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1300
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="id"><span class="docContent">An Identity</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1301
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;returns><span class="docContent">The new Identity</span>&lt;/returns></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1302
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1302: Method ApplyNamespace entered 102340 times.">102340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1302: Method ApplyNamespace entered 102340 times.">        <span class="keyword">private</span> <span class="keyword">string</span> ApplyNamespace(<span class="keyword">string</span> id) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1303
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1302: Method ApplyNamespace entered 102340 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1304
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1304: Statement executed 102340 times.">102340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1304: Statement executed 102340 times.">            <span class="keyword">string</span> newId = id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1305
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1305: Statement executed 102340 times.">102340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1305: Statement executed 102340 times.">            <span class="keyword">string</span> currentNamespace = _configScope.SqlMapNamespace;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1306
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1302: Method ApplyNamespace entered 102340 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1307
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1307: Expression evaluated to true 31280 times, false 71060 times.">102340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1307: Expression evaluated to true 31280 times, false 71060 times.">            <span class="keyword">if</span> (currentNamespace != <span class="keyword">null</span> &amp;&amp; currentNamespace.Length > 0 </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1308
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1307: Expression evaluated to true 31280 times, false 71060 times.">                &amp;&amp; id != <span class="keyword">null</span> &amp;&amp; id.Length>0 &amp;&amp; id.IndexOf(<span class="string">"."</span>) &lt; 0) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1309
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1307: Statement executed 102340 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1310
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1310: Statement executed 31280 times.">31280</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1310: Statement executed 31280 times.">                newId = currentNamespace + DOT + id;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1311
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1307: Statement executed 102340 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1312
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1312: Statement executed 102340 times.">102340</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1312: Statement executed 102340 times.">            <span class="keyword">return</span> newId;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1313
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1302: Method ApplyNamespace entered 102340 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1314
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1315
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1316
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1317
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1318
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// <span class="docContent">Gets a resource stream.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1319
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1320
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="schemaResourceKey"><span class="docContent">The schema resource key.</span>&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1321
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;returns><span class="docContent">A resource stream.</span>&lt;/returns></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1322
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1322: Method GetStream entered 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1322: Method GetStream entered 170 times.">        <span class="keyword">public</span> Stream GetStream( <span class="keyword">string</span> schemaResourceKey )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1323
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1322: Method GetStream entered 170 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1324
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 1324: Statement executed 170 times.">170</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1324: Statement executed 170 times.">            <span class="keyword">return</span> Assembly.GetExecutingAssembly().GetManifestResourceStream(<span class="string">"IBatisNet.DataMapper."</span> + schemaResourceKey); </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  1325
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 1322: Method GetStream entered 170 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1326
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1327
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1328
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      private String ParsePropertyTokens(string str) </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1329
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      {</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1330
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      const string  OPEN = "${";</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1331
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      const string CLOSE = "}";</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1332
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1333
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1334
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      string newString = str;</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1335
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      if (str != null &amp;&amp; props != null) {</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1336
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      int start = newString.indexOf(OPEN);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1337
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      int end = newString.indexOf(CLOSE);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1338
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1339
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      while (start > -1 &amp;&amp; end > start) {</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1340
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        String prepend = newString.substring(0, start);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1341
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        String append = newString.substring(end + CLOSE.length());</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1342
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        String propName = newString.substring(start + OPEN.length(), end);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1343
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        String propValue = props.getProperty(propName);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1344
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        if (propValue == null) {</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1345
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//          newString = prepend + propName + append;</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1346
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        } else {</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1347
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//          newString = prepend + propValue + append;</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1348
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        }</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1349
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        start = newString.indexOf(OPEN);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1350
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//        end = newString.indexOf(CLOSE);</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1351
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//      }</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1352
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//    }</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1353
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//    return newString;</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1354
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="lineComment">//  }</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1355
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1356
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1357
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1358
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">}</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  1359
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
        </table>

    <table class="coverageTable" cellspacing="0" cellpadding="2">
      <tr><td class="hbreak" colspan="6">&nbsp;</td></tr>
      <tr>
  <td class="footer" colspan="6">
    <table>
      <tr>
        <td><a target="_new" href="http://cenqua.com/clover.net/">
          <img class="linkImage" alt="Clover.NET" src="../../img/logo.gif"/></a>
        </td>
        <td>Report generated by 
          <a class="footerLink" target="_new" href="http://cenqua.com/clover.net/">Clover.NET v1.2.1941</a>
          <br />Saturday, May 21, 2005 11:01:44 AM.
        </td>
        <td class="footerMessage">Open Source License registered to the iBATIS.NET Project. This license of Clover.NET is provided to support the development of iBATIS.NET only.<br /></td>
      </tr>
    </table>
  </td>
</tr>    </table>
  </body>
</html>
